HTML5 and CSS3 introduces some new file types that enables us to create even better websites. We are now able to embed video, audio and custom fonts natively to any web page. Some of these file types are relatively new...

Last time we took a look at the performance impact of using tabs vs. spaces in HTML files . One question that arose was whether or not it’s worthwhile to minify HTML when also using GZip. Let’s run the experiment. I’ve...

Are you using tabs or spaces to indent your markup? Does it matter for performance which one you chose? Let’s run an experiment. Consider a page that generates a list of 50 items: <ul> @for (int i = 0; i < 50; i++) {...

So you have a website filled with images, CSS and JavaScript files, and you realize that you haven’t bothered optimizing the images or minified the CSS and JavaScript files. Or maybe you have, but your users can upload...

Optimizing for website performance includes setting long expiration dates on our static resources, such s images, stylesheets and JavaScript files. Doing that tells the browser to cache our files so it doesn’t have to...

What's the address of your website? www .domain.com or domain.com? There are two camps on the subject of the www subdomain. One believe it should be enforced ( www.yes-www.org ) and the other ( no-www.org ) that it...

I recently upgraded MiniBlog from using WebPages/Razor 2 to version 3. The upgrade was completely painless. I just upgraded the NuGet package and it didn't even touch my web.config. Thumbs up to the Razor team for that!...

Due to the brand new HTML editor in Visual Studio 2013, static HTML files no longer has the Design|Split|Source options enabled by default. That’s because the new HTML editor is the default editor for all HTML files with...

Earlier this year, Sayed and I released Web Developer Checklist to help web developer adhere to best practices. Checklists like these can be really helpful to make sure we don’t forget anything before releasing new or...

So you just built a website and are about to make it public to the world. You go through a few checks to make sure that everything works as expected. Perhaps run HTML validation and other similar services. But are you...